public class test2 {
    public static void main(String[] args) {
        person person= new northperson();
        person.eat();
        System.out.println("----------");
        person = new southperson();
        person.eat();
    }
}
